Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
override fun adjust(throwable: Throwable)

Adjusts the given throwable - typically this involves filtering the stack trace (stackTrace in JVM, stack in JS) in some way or another as well as the stack traces of a Throwable.cause and other stack traces (e.g. stack traces of suppressed throwable in JVM).

Link copied to clipboard
open override fun adjustOtherThanStacks(throwable: Throwable)

Does nothing (no adjustments) - override in subclass if you want a different behaviour.

Link copied to clipboard
abstract fun adjustStack(stackTrace: Sequence<String>): Sequence<String>

Adjusts the stack in some way or another.